<?php
class PsalidaHelper extends Helper{

   public function existePrueba($participante) {
        App::import('Model', 'Psalida');
        $this->Psalida = new Psalida;
        $this->data = $this->Psalida->find('first', array('fields'=>'Psalida.id', 
        												   'conditions'=>array('Psalida.participante_id'=>$participante)));    
        return $this->data;
   }
} 
?>